const env = import.meta.env.MODE || 'prod'
//console.log(import.meta.env.MODE); // development

const EnvConfig = {
    development:{
        baseApi:'/api',
        //Echart数据布局到线上
        mockApi:'https://www.fastmock.site/mock/70cd50759683ccff554f096e412c53e4/api',
    },
    test:{
        baseApi:'//test.future.com/api',
        mockApi:'https://www.fastmock.site/mock/70cd50759683ccff554f096e412c53e4/api',
    },
    prod:{ //pro
        baseApi:'//test.future.com/api',
        mockApi:'https://www.fastmock.site/mock/70cd50759683ccff554f096e412c53e4/api',
    },
}
export default {
    env,
    //mock的总开关
    mock:true,
    ...EnvConfig[env],
}